<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
         function Star(name, age,song) {
        this.name = name
        this.age = age
        this.song =song
      }

      const zjl = new Star('周杰伦', 36,'兰亭序')

      Star.prototype.sing = function () {
        console.log(`我会唱${this.song}`)
      }
      console.log(hcy.__proto__ === Star.prototype) //true

      console.log(hcy.__proto__.__proto__ === Object.prototype) //true

      console.log(hcy.__proto__.__proto__.__proto__) //null

      console.log(hcy.__proto__.constructor === Star) //true
      
      console.log(Object.prototype.constructor)
    </script>
</body>
</html>